Piotr Drąg [Tue, 5 Feb 2019 17:35:55 +0000 (18:35 +0100)]
Update POTFILES.in and POTFILES.skip
Timm Bäder [Tue, 5 Feb 2019 14:15:38 +0000 (15:15 +0100)]
docs: Remove reference to deleted file
Timm Bäder [Tue, 5 Feb 2019 14:14:19 +0000 (15:14 +0100)]
inspector: Remove window icon
The property does not exist anymore and the window icon has never been
used on non-x11 backends.
Timm Bäder [Tue, 5 Feb 2019 14:13:01 +0000 (15:13 +0100)]
main: Prefer implicit grab widget to target widget for motion events
When an implcit grab is going on, we don't need to consider other
widgets for motion (etc.) events.
Timm Bäder [Tue, 5 Feb 2019 14:09:59 +0000 (15:09 +0100)]
infobar: Remove an unused variable
Matthias Clasen [Tue, 5 Feb 2019 13:41:52 +0000 (08:41 -0500)]
A few forgotten button box functions
Timm Bäder [Sun, 30 Dec 2018 06:22:44 +0000 (07:22 +0100)]
window: Inline function into only caller
Timm Bäder [Sun, 30 Dec 2018 06:02:59 +0000 (07:02 +0100)]
window: Remove remaining icon_list handling
Timm Bäder [Sun, 30 Dec 2018 05:54:57 +0000 (06:54 +0100)]
window: Remove default_icon_serial
Now unused.
Timm Bäder [Sun, 30 Dec 2018 05:53:35 +0000 (06:53 +0100)]
window: Remove default icon list
Timm Bäder [Sun, 30 Dec 2018 05:48:05 +0000 (06:48 +0100)]
window: Remove icon list
Timm Bäder [Sun, 30 Dec 2018 05:40:52 +0000 (06:40 +0100)]
Remove some unnecessary gtkwindow.h includes
Timm Bäder [Sun, 30 Dec 2018 05:38:28 +0000 (06:38 +0100)]
window: Remove set_default_icon
Timm Bäder [Sun, 30 Dec 2018 05:32:31 +0000 (06:32 +0100)]
window: Remove icon property
Timm Bäder [Sun, 30 Dec 2018 05:29:12 +0000 (06:29 +0100)]
window: Remove _set_default_icon_from_file
Timm Bäder [Sun, 30 Dec 2018 05:25:57 +0000 (06:25 +0100)]
window: Remove set_icon_from_file
Not all backends support setting window icons from raw pixel data, so
remove the public API in GtkWindow for it.
Matthias Clasen [Tue, 5 Feb 2019 13:06:09 +0000 (13:06 +0000)]
Merge branch 'kill-buttonbox' into 'master'
Drop GtkButtonBox
See merge request GNOME/gtk!554
Alexander Larsson [Tue, 5 Feb 2019 13:05:34 +0000 (13:05 +0000)]
Merge branch 'master' into 'master'
Ensure focus on click ( Fix #1633 )
Closes #1633
See merge request GNOME/gtk!546
Matthias Clasen [Tue, 5 Feb 2019 12:54:35 +0000 (07:54 -0500)]
Drop gtkboxprivate.h
Not needed anymore.
Matthias Clasen [Tue, 5 Feb 2019 12:40:43 +0000 (07:40 -0500)]
Drop buttonbox from tests
Matthias Clasen [Tue, 5 Feb 2019 10:52:38 +0000 (10:52 +0000)]
Merge branch 'no-more-plus' into 'master'
Drop the "plus" from "GTK"
See merge request GNOME/gtk!558
Emmanuele Bassi [Tue, 5 Feb 2019 10:26:54 +0000 (11:26 +0100)]
glade: Drop the "plus"
From documentation and catalog description.
Emmanuele Bassi [Tue, 5 Feb 2019 10:26:20 +0000 (11:26 +0100)]
gtk: Drop the "plus"
Source names should use "[gtk]" without the plus.
Emmanuele Bassi [Tue, 5 Feb 2019 10:25:41 +0000 (11:25 +0100)]
themes: Drop the "plus"
Comments and documentation.
Emmanuele Bassi [Tue, 5 Feb 2019 10:25:15 +0000 (11:25 +0100)]
inspector: Drop the "plus"
From user-visible strings, mostly.
Emmanuele Bassi [Tue, 5 Feb 2019 09:30:33 +0000 (10:30 +0100)]
modules: Drop the plus
Use 'GTK' consistently.
Emmanuele Bassi [Tue, 5 Feb 2019 09:27:57 +0000 (10:27 +0100)]
examples: Rename the pkg-config file for GTK 4
We dropped the '+' and the major.minor version from the pkg-config file
name.
Emmanuele Bassi [Tue, 5 Feb 2019 09:19:57 +0000 (10:19 +0100)]
demos: Drop the '+' from GTK
The demos have user-visible text that should refer to "GTK", not "GTK+"
any more.
Emmanuele Bassi [Tue, 5 Feb 2019 09:14:31 +0000 (10:14 +0100)]
docs: Drop the '+' from GTK
We need to adapt to both the change in the name of the project, and to
the name change in the pkg-config file.
Matthias Clasen [Tue, 5 Feb 2019 08:46:31 +0000 (03:46 -0500)]
about dialog: Stop setting secondary
We no longer use a button box, so this is not available.
Matthias Clasen [Tue, 5 Feb 2019 08:29:39 +0000 (08:29 +0000)]
Merge branch 'drop-the-plus' into 'master'
Rename some references to GTK+
See merge request GNOME/gtk!553
Matthias Clasen [Tue, 5 Feb 2019 08:28:48 +0000 (08:28 +0000)]
Merge branch 'pango-deprecation' into 'master'
Pango deprecation
See merge request GNOME/gtk!555
Matthias Clasen [Thu, 31 Jan 2019 19:07:08 +0000 (14:07 -0500)]
gtk: Stop using deprecated pango api
Matthias Clasen [Thu, 31 Jan 2019 19:05:28 +0000 (14:05 -0500)]
gdk: Stop using deprecated pango api
Matthias Clasen [Thu, 31 Jan 2019 19:03:49 +0000 (14:03 -0500)]
gdk: Add a copy of some deprecated pango api
We use pango_find_base_dir() in a few places, and
this api has been deprecated.
Matthias Clasen [Mon, 4 Feb 2019 23:07:14 +0000 (18:07 -0500)]
Add an explicit fribidi dep
We will use fribidi api to determine text direction.
Matthias Clasen [Mon, 4 Feb 2019 17:44:55 +0000 (12:44 -0500)]
Drop GtkButtonBox
This widget does not seem worth keeping,
and we want to get rid of child properties.
Matthias Clasen [Mon, 4 Feb 2019 16:56:52 +0000 (11:56 -0500)]
Rename some references to GTK+
We are dropping the plus.
Mickael Istria [Fri, 1 Feb 2019 10:08:43 +0000 (10:08 +0000)]
Issue #1633 - Ensure focus on click
This is necessary to give back focus to the Broadway elements when
content is embedded in an IFrame.
Signed-off-by: Mickael Istria <mistria@redhat.com>
Timm Bäder [Sun, 3 Feb 2019 10:29:01 +0000 (11:29 +0100)]
testgtk: Fix image menu item child order
We want the image first, text second.
Timm Bäder [Sun, 3 Feb 2019 06:04:39 +0000 (07:04 +0100)]
tooltip: Get the pointer position relative to the toplevel widget
Since we position the tooltip window relative to the toplevel widget and
not actually relative to the effective_toplevel, we shouldn't get the
pointer position relative to the effective_toplevel.
We previously used the pointer position (relative to the
effective_toplevel) and the anchor rect (relative to the toplevel
widget) together to calculate x_distance. This leads to wrong values in
cases where get_surface (new_tooltip_widget) != get_surface (toplevel)
Fixes #1427 in master
Timm Bäder [Sun, 3 Feb 2019 05:47:57 +0000 (06:47 +0100)]
tooltip: Use gtk_widget_compute_bounds to get tootip widget anchor
Instead of using gtk_widget_get_allocated_width/height, which might
return the wrong box for the tooltip widget.
Timm Bäder [Sun, 3 Feb 2019 04:37:13 +0000 (05:37 +0100)]
main: Rename local variable
Make it a little clearer that this is the event widget and not just any
widget.
Timm Bäder [Tue, 29 Jan 2019 04:33:38 +0000 (05:33 +0100)]
gtkmain: Rename event_widget to target_widget in do_event
The event_widget is the widget that the surface belongs to which got
this event. The target widget is the one that will receive the event.
The previous terminology was confusing.
Matthias Clasen [Mon, 4 Feb 2019 15:57:44 +0000 (15:57 +0000)]
Merge branch 'popover-menu-position' into 'master'
Drop GtkPopoverMenu::position
See merge request GNOME/gtk!552
Matthias Clasen [Mon, 4 Feb 2019 15:47:18 +0000 (10:47 -0500)]
Drop GtkPopoverMenu::position
This is another unnecessary position child property.
Emmanuele Bassi [Mon, 4 Feb 2019 13:19:10 +0000 (13:19 +0000)]
Merge branch 'enum-template-basename' into 'master'
Use @basename@ in enumeration type templates
See merge request GNOME/gtk!550
Emmanuele Bassi [Mon, 4 Feb 2019 13:06:43 +0000 (13:06 +0000)]
Merge branch 'testgtk-warning' into 'master'
tests: Remove spurious gtk_container_add()
See merge request GNOME/gtk!549
Emmanuele Bassi [Mon, 4 Feb 2019 13:02:45 +0000 (14:02 +0100)]
Use @basename@ in enumeration type templates
The @filename@ directive will use the full path of the file being parsed
for enumeration types; we should use @basename@, instead, as it improves
the reproducibility of the build by using only the file name.
Emmanuele Bassi [Mon, 4 Feb 2019 09:02:15 +0000 (10:02 +0100)]
tests: Remove spurious gtk_container_add()
Commit
bd71e744d2e5dbd853f0c719dd3ebe6abb2f72b6 removed
gtk_box_pack_end(), but it added a gtk_container_add() with an
uninitialised widget, and the compiler is very unhappy about it.
Emmanuele Bassi [Mon, 4 Feb 2019 08:53:22 +0000 (09:53 +0100)]
docs: Remove <ulink> elements
We use Markdown for documentation, not Docbook.
Balázs Úr [Sun, 3 Feb 2019 17:28:26 +0000 (17:28 +0000)]
Update Hungarian translation
Balázs Úr [Sun, 3 Feb 2019 13:54:30 +0000 (13:54 +0000)]
Update Hungarian translation
Balázs Úr [Sat, 2 Feb 2019 14:52:38 +0000 (14:52 +0000)]
Update Hungarian translation
Timm Bäder [Thu, 31 Jan 2019 16:00:50 +0000 (17:00 +0100)]
recorder: Don't try to print info about a NULL list model
Timm Bäder [Wed, 30 Jan 2019 16:46:08 +0000 (17:46 +0100)]
switch: Notify :state by pspec
Emmanuele Bassi [Wed, 30 Jan 2019 11:53:12 +0000 (11:53 +0000)]
Merge branch '1480-critical-csd-close-button' into 'master'
gtkmain: Avoid critical messages on closing window
Closes #1480
See merge request GNOME/gtk!442
Timm Bäder [Tue, 29 Jan 2019 13:36:43 +0000 (13:36 +0000)]
Merge branch 'wip/carlosg/texthandles-position' into 'master'
gtkentry: Fix text handle coordinates calculation
See merge request GNOME/gtk!542
Carlos Garnacho [Tue, 29 Jan 2019 11:00:07 +0000 (12:00 +0100)]
gtkentry: Fix text handle coordinates calculation
The text allocation is already in widget-local coordinates, involving the
GtkAllocation here is not right.
Jakub Steiner [Tue, 29 Jan 2019 09:46:34 +0000 (09:46 +0000)]
Merge branch 'expander-row-padding' into 'master'
adwaita: Fix the greediness of row:not(.expander)
See merge request GNOME/gtk!526
Jakub Steiner [Tue, 29 Jan 2019 09:39:57 +0000 (09:39 +0000)]
Merge branch 'adwaita-osd-spinbutton-entry-fix-master' into 'master'
Horizontal OSD spinbutton entry fix
See merge request GNOME/gtk!332
Timm Bäder [Tue, 29 Jan 2019 08:33:40 +0000 (08:33 +0000)]
Merge branch 'wip/matthiasc/event-signal' into 'master'
Remove vestigial ::event support
See merge request GNOME/gtk!538
Timm Bäder [Tue, 29 Jan 2019 06:19:20 +0000 (07:19 +0100)]
widget: Also propagate ACTIVE state when unsetting
Timm Bäder [Tue, 29 Jan 2019 04:29:57 +0000 (05:29 +0100)]
gtkmain: Remove comment mentioning GDK_PROPERTY_NOTIFY
... which doesn't exist anymore.
Timm Bäder [Sun, 27 Jan 2019 05:29:45 +0000 (06:29 +0100)]
widget: Ignore events on unmapped widgets
There was a special case for GtkSearchBar, so remove that one.
Benjamin Otte [Thu, 4 Oct 2018 11:08:14 +0000 (13:08 +0200)]
main: Report correct target for button release events
Button release events should not go to the widget below the pointer, but
to the widget that received the original button press.
Fixes #24
Timm Bäder [Fri, 25 Jan 2019 16:17:20 +0000 (17:17 +0100)]
Remove :active state handling on widgets
Timm Bäder [Fri, 25 Jan 2019 04:39:04 +0000 (05:39 +0100)]
Automatically set :active state on button press/release
Timm Bäder [Tue, 29 Jan 2019 06:17:46 +0000 (07:17 +0100)]
widget: Propagate PRELIGHT state when unsetting it
Without this, disabling a widget that's being hovered and is a child
widget of the widget we're disabling (e.g. the GtkImage child of a
GtkButton) will retain its :hover state even though it should be
insensitive to any sort of input now.
Timm Bäder [Sat, 19 Jan 2019 12:36:42 +0000 (13:36 +0100)]
widget: Avoid some type checks when picking
Timm Bäder [Mon, 21 Jan 2019 16:00:29 +0000 (17:00 +0100)]
csstransformvalue: Convert skew values to radians
Timm Bäder [Sun, 20 Jan 2019 08:22:55 +0000 (09:22 +0100)]
label: Use pango_layout_get_log_attrs_readonly
No need to memdup the log attrs in this case.
Timm Bäder [Sat, 19 Jan 2019 17:32:00 +0000 (18:32 +0100)]
cssparser: Make _gtk_css_parser_try a macro
We almost always pass a constant string to it, so use a macro and try to
trick the compiler into evaluating the 2(!) strlen() calls at compile
time.
Timm Bäder [Sat, 19 Jan 2019 17:05:13 +0000 (18:05 +0100)]
cssanimatedstyle: Avoid some type checks and unnecessary work
Timm Bäder [Sat, 19 Jan 2019 16:53:05 +0000 (17:53 +0100)]
scrolledwindow: Don't NULL the indicator widget in unmap
We still have the widget, so just keep the pointer to it.
Fran Dieguez [Mon, 28 Jan 2019 21:55:11 +0000 (21:55 +0000)]
Update Galician translation
Fran Dieguez [Sun, 27 Jan 2019 21:40:17 +0000 (21:40 +0000)]
Update Galician translation
Balázs Úr [Sun, 27 Jan 2019 20:14:31 +0000 (20:14 +0000)]
Update Hungarian translation
Fran Dieguez [Sun, 27 Jan 2019 00:09:39 +0000 (00:09 +0000)]
Update Galician translation
Fran Dieguez [Sat, 26 Jan 2019 23:53:47 +0000 (23:53 +0000)]
Update Galician translation
Matthias Clasen [Sat, 26 Jan 2019 20:36:55 +0000 (15:36 -0500)]
Remove vestigial ::event support
The signal is gone, no need to keep the vfunc around.
Matthias Clasen [Fri, 25 Jan 2019 17:32:41 +0000 (17:32 +0000)]
Merge branch 'tabular-menus' into 'master'
Drop tabular menus
See merge request GNOME/gtk!527
Matthias Clasen [Fri, 25 Jan 2019 02:30:08 +0000 (02:30 +0000)]
Merge branch 'switch-icons' into 'master'
Use switch icons
See merge request GNOME/gtk!529
Matthias Clasen [Fri, 25 Jan 2019 02:10:12 +0000 (21:10 -0500)]
Update css tests results
These now show images as children of the switch,
as expected.
Matthias Clasen [Thu, 24 Jan 2019 21:15:43 +0000 (16:15 -0500)]
icon browser: Add on and off icons
These are going to be used internally.
Matthias Clasen [Thu, 24 Jan 2019 21:11:45 +0000 (16:11 -0500)]
Fix gtk4-icon-browser
It was broken by a recent GtkDialog change that renamed
the internal vbox child to content_area.
Matthias Clasen [Thu, 24 Jan 2019 21:12:47 +0000 (16:12 -0500)]
switch: Use icons
This works better than glyphs, avoiding the
uncertainties of font availability and fallback..
Matthias Clasen [Thu, 24 Jan 2019 21:12:27 +0000 (16:12 -0500)]
Add switch icons
These will be used in GtkSwitch in the future.
Matthias Clasen [Thu, 24 Jan 2019 04:36:04 +0000 (23:36 -0500)]
menu: Drop the child properties
These were only there in support of tabular menus.
Matthias Clasen [Thu, 24 Jan 2019 04:30:18 +0000 (23:30 -0500)]
Drop gtk_menu_attach
We no longer support tabular menus.
Matthias Clasen [Thu, 24 Jan 2019 04:20:22 +0000 (23:20 -0500)]
tree menu: Drop support for grids
This was only used in GtkComboBox, and it no longer
supports grids,
Matthias Clasen [Thu, 24 Jan 2019 03:52:36 +0000 (22:52 -0500)]
combobox: Drop support for grids
This is pretty much unued, and we want to get rid of it.
This removes support for wrap-width, row-span-column
and column-span-column properties.
Matthias Clasen [Thu, 24 Jan 2019 03:52:16 +0000 (22:52 -0500)]
testcombo fixup
Matthias Clasen [Thu, 24 Jan 2019 03:51:48 +0000 (22:51 -0500)]
fixup notify tests
Matthias Clasen [Thu, 24 Jan 2019 03:45:55 +0000 (22:45 -0500)]
Drop a grid combo example
Matthias Clasen [Thu, 24 Jan 2019 03:42:51 +0000 (22:42 -0500)]
Drop row/column-span-column from tests
Matthias Clasen [Thu, 24 Jan 2019 03:40:53 +0000 (22:40 -0500)]
testgtk: Drop tabular menu
Tabular menus are basically unused, and we want to drop this.
Matthias Clasen [Thu, 24 Jan 2019 03:33:44 +0000 (22:33 -0500)]
gl texture: fix a typo
Matthias Clasen [Thu, 24 Jan 2019 01:05:28 +0000 (20:05 -0500)]
header bar: Drop the position child property
There is no particular need to have this, and we want
to get rid of child properties.
Matthias Clasen [Wed, 23 Jan 2019 01:10:06 +0000 (20:10 -0500)]
action bar: Drop the position child property
There is no particular need to have this, and we want
to get rid of child properties.